package com.sitech.webapp.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;

public class BaseAction extends ActionSupport
{


	private static final long serialVersionUID = 1L;

	protected HttpServletRequest getRequest()
	{
		return ServletActionContext.getRequest();
	}

	protected HttpServletResponse getResponse()
	{
		return ServletActionContext.getResponse();
	}

	protected HttpSession getSession()
	{
		return getRequest().getSession();
	}
}
